﻿// Bảo Ngọc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web.Services;

namespace ChiaSeThongTinWebService.Interface
{
    [ServiceContract]
    public interface IDislike
    {       

        [WebMethod]
        DISLIKE_PC[] GetDislikePC(string ID_post);

        [WebMethod]
        long GetNumberDislikePC(string ID_post);

        [WebMethod]
        DISLIKE_PC[] GetMyDislikes(string ID_host);

        [WebMethod]
        decimal? GetNumberDislikes(string ID_host);

        //[WebMethod]
        //bool AddDislikePost(DISLIKE_PC dislikepost);

        //[WebMethod]
        //bool AddDislikeComment(DISLIKE_PC dislikepost);

        [WebMethod]
        bool AddDislike(DISLIKE_PC dislikepost);

        [WebMethod]
        bool DeleteDislike(string ID);


    }
}
